<template>
  <div class="advantage-box">
    <div class="hot-title">
      <div class="everyday">
        <img src="../../assets/image/圆角矩形 4.png" alt="" />
      </div>
      <div class="everyday-title">
        <img src="../../assets/image/thumb-up-line.png" alt="" />
        <img src="../../assets/image/我们的优势-1.png" alt="" />
      </div>
      <a href="#">
        <div class="watch-all"></div>
      </a>
    </div>

    <swiper ref="mySwiper" :options="swiperOptions" class="swiperImg">
      <swiper-slide>
        <img src="../../assets/image/图层 23 拷贝.png" alt="" />
      </swiper-slide>
      <swiper-slide>
        <img src="../../assets/image/图层 23 拷贝.png" alt="" />
      </swiper-slide>
      <swiper-slide>
        <img src="../../assets/image/图层 23 拷贝.png" alt="" />
      </swiper-slide>
    </swiper>
    <!-- 合作伙伴 -->
    <div class="hot-title">
      <div class="everyday">
        <img src="../../assets/image/圆角矩形 4.png" alt="" />
      </div>
      <div class="everyday-title">
        <img src="../../assets/image/合作.png" alt="" />
        <img src="../../assets/image/合作伙伴.png" alt="" />
      </div>
      <a href="#">
        <div class="watch-all"></div>
      </a>
    </div>
    <div class="friend-content">
        <ul>
            <li>
                <a href="#">
                    <img src="../../assets/image/moka.jpg" alt="摩卡婚礼">
                </a>
            </li>
            <li>
                <a href="#">
                    <img src="../../assets/image/youyue.jpg" alt="优悦婚礼">
                </a>
            </li>
            <li>
                <a href="#">
                    <img src="../../assets/image/21.jpg" alt="21">
                </a>
            </li>
            <li>
                <a href="#">
                    <img src="../../assets/image/lhunli.jpg" width="154px" 
                     height="56px" alt="lhunli">
                </a>
            </li>
        </ul>
    </div>
  </div>
</template>

<script>
export default {
  name: "BottomSwiper",
  data() {
    return {
      swiperOptions: {
        pagination: {
          el: ".swiper-pagination",
        },
        // Some Swiper option/callback...
        loop: true,
      },
    };
  },
  computed: {
    swiper() {
      return this.$refs.mySwiper.$swiper;
    },
  },
};
</script>

<style scoped>
.advantage-box {
  width: 1000px;
  overflow: hidden;
  margin: 0 auto;
}
.swiperImg {
  height: 375px;
  width: 1000px;
}
.swiperImg img {
  width: 100%;
}
.hot-title {
  width: 1000px;
  height: 50px;
  margin-top: 40px;
  margin-bottom: 10px;
  overflow: hidden;
  position: relative;
  top: 5px;
}
.everyday {
  width: 176px;
  height: 50px;
  float: left;
}
.everyday-title {
  position: absolute;
  top: 13px;
  left: 10px;
}
.watch-all {
  width: 1029px;
  height: 50px;
  float: left;
  line-height: 50px;
  text-align: right;
  border-bottom: 5px solid #eadbc5;
  box-sizing: border-box;
  margin-left: -5px;
}
/* 合作伙伴 */
.friend-content ul{
    margin-right: -13.33px;
}
.friend-content li{
    width: 155px;
    height: 60px;
    float: left;
    margin-right: 11px;
    border: 1px solid #EEEEEE;
    margin-bottom: 15px;
    margin-top: 10px;
}
</style>